<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%
String path = request.getContextPath();
String basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<head>
<base href="<%=basePath%>"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Insert title here</title>
	<link href="css/front/index.css" rel="stylesheet">
</head>
<body>
<div id="cart-panel" class="panel-left" style="width: 400px;">
  <input type="hidden" id="uid" value="${loginQtUser.uid }">
  <aside class="widget_shopping_cart">
    <h3>购物车</h3>
      <c:if test="${not empty loginQtUser }">
	      <ul class="cart_list">
			 
	      </ul>
	      <p class="total"><strong>小计:</strong> <span class="leftCarSpan">$0</span></p>
		  <p class="buttons">
		  <a class="btn btn-primary btn-lg btn-block" href="model/toShowCar">查看购物车详情</a>
		  </p>
	  </c:if>
	  <c:if test="${empty loginQtUser }">
	     <ul class="cart_list">
			 <li style="color: #FD638F;">您还未登陆。。。</li>
			 <li style="color: #FD638F;">请登陆后再查看购物车!!!</li>
		 </ul>
	  </c:if>
  </aside>
</div>
<script src="js/front/leftCar.js"></script>

</body>
</html>